import file_operator


def add():
    a = []
    name = input('请输入姓名\n>>>')
    a.append(name)
    gender = input('请输入性别\n>>>')
    a.append(gender)
    father = input('父亲是谁\n>>>')
    birth = input('请输入出生日期\n>>>')
    a.append(birth)
    marry = input('已婚？\n>>>')
    a.append(marry)
    address = input('请输入住址\n>>>')
    a.append(address)
    tel = input('请输入电话号码\n>>>')
    a.append(tel)
    qqNum = input('请输入QQ号\n>>>')
    a.append(qqNum)
    email = input('请输入email\n>>>')
    a.append(email)
    a.append(father)
    file_operator.storage(a)
    print('添加成员成功！！')
